﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_NOTEMESSAGE.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_NOTEMESSAGE数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_NOTEMESSAGE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_NOTEMESSAGE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_NOTEMESSAGE_Entity
	{
		#region 变量定义		
		///<summary>
		///消息编号
		///</summary>
		private long _mESSAGEID;
		///<summary>
		///发送者编号
		///</summary>
		private long? _sENDERID = 0;
		///<summary>
		///发送者姓名
		///</summary>
		private string _sENDERNAME = String.Empty;
		///<summary>
		///发送者登录名
		///</summary>
		private string _sENDERLOGINNAME = String.Empty;
		///<summary>
		///接收者编号
		///</summary>
		private long? _rECEIVERID = 0;
		///<summary>
		///接收者姓名
		///</summary>
		private string _rECEIVERNAME = String.Empty;
		///<summary>
		///标题
		///</summary>
		private string _tITLE = String.Empty;
		///<summary>
		///内容
		///</summary>
		private string _cONTENT = String.Empty;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		///<summary>
		///发送时间
		///</summary>
		private DateTime? _sENDTIME;
		///<summary>
		///接收时间
		///</summary>
		private DateTime? _rECEIVETIME;
		///<summary>
		///状态
		///</summary>
		private long? _sTATUS = 0;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID = 0;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_NOTEMESSAGE_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///消息编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_NOTEMESSAGE")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long MESSAGEID
		{
			get {return _mESSAGEID;}
			set { _mESSAGEID = value; }
			
		}

		///<summary>
		///发送者编号
		///</summary>		
		public long? SENDERID
		{
			get {return _sENDERID;}
			set { _sENDERID = value; }
			
		}

		///<summary>
		///发送者姓名
		///</summary>		
		public string SENDERNAME
		{
			get {return _sENDERNAME;}
			set {
					_sENDERNAME = value;
				}
			
		}

		///<summary>
		///发送者登录名
		///</summary>		
		public string SENDERLOGINNAME
		{
			get {return _sENDERLOGINNAME;}
			set {
					_sENDERLOGINNAME = value;
				}
			
		}

		///<summary>
		///接收者编号
		///</summary>		
		public long? RECEIVERID
		{
			get {return _rECEIVERID;}
			set { _rECEIVERID = value; }
			
		}

		///<summary>
		///接收者姓名
		///</summary>		
		public string RECEIVERNAME
		{
			get {return _rECEIVERNAME;}
			set {
					_rECEIVERNAME = value;
				}
			
		}

		///<summary>
		///标题
		///</summary>		
		public string TITLE
		{
			get {return _tITLE;}
			set {
					_tITLE = value;
				}
			
		}

		///<summary>
		///内容
		///</summary>		
		public string CONTENT
		{
			get {return _cONTENT;}
			set {
					_cONTENT = value;
				}
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}

		///<summary>
		///发送时间
		///</summary>		
		public DateTime? SENDTIME
		{
			get {return _sENDTIME;}
			set { _sENDTIME = value; }
			
		}

		///<summary>
		///接收时间
		///</summary>		
		public DateTime? RECEIVETIME
		{
			get {return _rECEIVETIME;}
			set { _rECEIVETIME = value; }
			
		}

		///<summary>
		///状态
		///</summary>		
		public long? STATUS
		{
			get {return _sTATUS;}
			set { _sTATUS = value; }
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}
		
		
		#endregion
		
	}
}
